package Dao;

import Entity.pet;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;

public interface PetDao {
    public List<pet> AllGetPet()throws SQLException;
    public pet AllGetPet(int id)throws SQLException;
    public List<pet> AllPetByowner()throws SQLException;
    public List<pet> AllPetByyouowner(int id)throws SQLException;
    public void add(pet p) throws SQLException, ParseException;
    public void update(pet p)throws SQLException;
    public void idnull(pet p)throws SQLException;
    public boolean delete(pet p);
    public List<pet> AllPetBystore(int id) throws SQLException ;
}
